package com.isdepci.project.gasEmission.domain;

import com.isdepci.framework.aspectj.lang.annotation.Excel;
import com.isdepci.framework.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
/**
 * 产品分摊对象 tpf_product_apportionment
 *
 * @author isdepci
 * @date 2023-09-01
 */
public class ProductApportionment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 产品 */
    @Excel(name = "产品")
    private String product;

    /** 百分比 */
    @Excel(name = "百分比")
    private String percentAllocation;

    /** 分配方法说明 */
    @Excel(name = "分配方法说明")
    private String allocationDescription;

    /** 关联首页表 */
    @Excel(name = "关联首页表")
    private Long infoId;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setProduct(String product)
    {
        this.product = product;
    }

    public String getProduct()
    {
        return product;
    }
    public void setPercentAllocation(String percentAllocation)
    {
        this.percentAllocation = percentAllocation;
    }

    public String getPercentAllocation()
    {
        return percentAllocation;
    }
    public void setAllocationDescription(String allocationDescription)
    {
        this.allocationDescription = allocationDescription;
    }

    public String getAllocationDescription()
    {
        return allocationDescription;
    }

    public Long getInfoId() {
        return infoId;
    }

    public void setInfoId(Long infoId) {
        this.infoId = infoId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("product", getProduct())
            .append("percentAllocation", getPercentAllocation())
            .append("allocationDescription", getAllocationDescription())
            .append("infoId", getInfoId())
            .toString();
    }
}
